package cn.com.self.apis.member.entity.vo;

import cn.com.self.apis.member.entity.UMemberInfoRelation;
import cn.com.self.apis.member.mapper.MemberInfoMapper;
import cn.com.self.apis.portal.util.RedisUtils;
import cn.com.selfsoft.smartcity.commons.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * @author ssh
 * @since 2021-05-12
 */
@Data
public class UMemberInfoVO extends AbstractEntity implements Serializable {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 会员id
     */
   // @NotNull
    @ApiModelProperty(value = "会员id")
    private Long memberId;
    /**
     * 头像(附件url)
     */
    @ApiModelProperty(value = "头像(附件url)")
    private String headPortraitUrl;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String name;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;
    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String telephone;
    /**
     * QQ
     */
    @ApiModelProperty(value = "QQ")
    private String qq;
    /**
     * 微信
     */
    @ApiModelProperty(value = "微信")
    private String vxNo;
    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名")
    private String realName;
    /**
     * 会员类型（1技术人员、2需求人员）
     */
    @ApiModelProperty(value = "会员类型（1技术人员、2需求人员）")
    private String memberType;
    @ApiModelProperty(value = "会员类型")
    private Object memberType_val;
    /**
     * 实名认证（1通过、2不通过）
     */
    @ApiModelProperty(value = "实名认证（1通过、2不通过）")
    private String realState;
    private Object realState_val;
    /**
     * 行业分类id
     */
    @ApiModelProperty(value = "行业分类id")
    private Long classificationId;
    /**
     * 工作年限
     */
    @ApiModelProperty(value = "工作年限")
    private String workYear;
    /**
     * 技术等级（1初级、2中级、3高级、4顶尖）
     */
    @ApiModelProperty(value = "技术等级（1初级、2中级、3高级、4顶尖）")
    private String level;
    private Object level_val;

    @ApiModelProperty(value = "所在省份（字典 province）")
    private String province;
    private Object province_val;

    @ApiModelProperty(value = "驻场（字典 onSite 1驻场 2不驻场）")
    private String onSite;
    private Object onSite_val;

    @ApiModelProperty(value = "个人简介")
    private String personalProfile;

    @ApiModelProperty(value = "浏览量")
    private BigDecimal showNum;


    @ApiModelProperty(value = "备注")
    private String remarks;


    @ApiModelProperty(value = "擅长领域")
    private String scly;
    @ApiModelProperty(value = "技术语言")
    private String jsyy;

    @ApiModelProperty(value = "行业分类")
    private String classificationName;


    @ApiModelProperty(value = "类型（擅长领域scly、技术语言jsyy）")
    private List<UMemberInfoRelation> memberInfoRelations;

    @ApiModelProperty(value = "评价等级，1星   1.5星.............5星好评")
    private String grading;


}
